package retry.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import retry.service.HelloService;

import javax.annotation.Resource;

/**
 * @author Lichenyi
 * @date 2017-9-7 0007
 */
@RestController
public class HelloController {
    @Resource
    private HelloService helloService;
    @GetMapping("/test")
    public String test() {
        return helloService.testRetry();
    }
}
